package com.shopping.utils;

import java.sql.SQLException;

import javax.sql.DataSource;

import com.mchange.v2.c3p0.ComboPooledDataSource;

public class C3p0Utils {
	private static DataSource ds;
	static {
		ds = new ComboPooledDataSource("shopping");
		System.out.println(ds);
	}
	public static DataSource getDataSource() {
		return ds;
	}
}
